package com.cy.pj.sys.service;

import com.cy.pj.common.pojo.JsonResult;
import com.cy.pj.common.pojo.PageObject;
import com.cy.pj.sys.pojo.SysGoods;
import com.cy.pj.sys.pojo.SysUser;
import com.cy.pj.sys.pojo.SysUserDept;

import java.util.Map;

public interface SysGoodsService {


    PageObject<SysGoods> findPageObjects(String goodsname,
                                         Integer pageCurrent);

    void validById(Long id, Integer valid);

    JsonResult doFindType();

    void saveObject(SysGoods goods);

    JsonResult doFindObjectById(Long id);

    void updateObject(SysGoods goods);

    void deleteById(Long id);
}
